<p>home works!</p>
<button (click)="gonews()" >点击我跳转路由</button>
<br>
<a href="/shoplist">shoplist</a><br>
<button (click)="goshop(11,1)">get传值跳转路由</button>

<a routerLink="/home/welcome">欢迎页</a> <!--进入子路由-->
<!--引入路由组件,点击不同的子连接,显示不同的子组件-->
<router-outlet></router-outlet>
